/*
 * @Author: laladuduqq
 * @Date: 2024-12-17 00:44:44
 * @LastEditors: laladuduqq
 * @LastEditTime: 2024-12-27 00:16:54
 */

#include "RGB.h"
#include "offline.h"
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>

#define LOG_TAG "main"
#define LOG_LVL LOG_LVL_DBG
#include <ulog.h>

int main(void)
{
    while (1) 
    {

        if (offline_manage[SYSTEM_PROTECT].online_state == STATE_ONLINE)
        {
            aRGB_led_show(LED_Green);
            //if (offline_manage[OFFLINE_MINIPC_HEART].online_state == STATE_ONLINE) {aRGB_led_show(LED_Blue);}
        }
        rt_thread_mdelay(5);
    }

}
